/*
 * OcorrenciaCheque.java
 *
 * Created on October 12, 2007, 10:46 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package petstore.model;

import java.util.Date;
import javax.persistence.AttributeOverride;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * Entity class OcorrenciaCheque
 * 
 * @author Tom Hayden
 */
@Entity
@Table(name = "ocorrencia_cheque")
@AttributeOverride(name="id", column=@Column(name="nrocorrencia"))
public class OcorrenciaCheque extends BusinessObject {

    @Column(name = "dtregistro")
    @Temporal(TemporalType.TIMESTAMP)
    private Date dataRegistro;

    @Column(name = "dsocorrencia")
    private String description;

    /** Creates a new instance of OcorrenciaCheque */
    public OcorrenciaCheque() {
    }

    public Date getDataRegistro() {
        return dataRegistro;
    }

    public void setDataRegistro(Date dataRegistro) {
        this.dataRegistro = dataRegistro;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

}
